/**
 * @description 管理
 * @author lzy
 * @since 2022/1/6
 */

import { OrgServiceApi } from "./_org";
import service from "/@/utils/request";

class ManagerServiceApi extends OrgServiceApi {

    getAdminResourceForRole(resourceType: string, roleId: string, appId: string) {
        let url = this.baseUrl + "/getAdminResourceForRole"
        let data = {
            resourceType: resourceType,
            roleId: roleId,
            appId: appId
        }
        return service.get(url, { params: data })
    }
}
const managerServiceApi = new ManagerServiceApi("/ManagerService");

export default managerServiceApi;